package com.cicc.wm.lock.config;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * jdbc锁配置
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class JdbcLockProperties {
    /**
     * 锁表前缀
     */
    private String tablePrefix = "";

    /**
     * 锁超时时间（毫秒）
     */
    private long timeToLive = 30000;
}
